﻿using MyAspNetCoreTodo.Dtos;
using MyAspNetCoreTodo.Identity;
using MyAspNetCoreTodo.Models;

namespace MyAspNetCoreTodo.Services
{
    public interface ITodoItemService
    {
        //Task<TodoItem[]> GetIncompleteItemsAsync();
        Task<IEnumerable<TodoItemDto>> GetIncompleteItemsAsync(ApplicationUser user);

        public Task<bool> AddItemAsync(TodoItemDto newItem,ApplicationUser user);
        Task<bool> MarkDoneAsync(Guid id, ApplicationUser user);
    }
}
